
#ifndef __IO_SESSION_HPP__
#define __IO_SESSION_HPP__

class io_session /* FIXME */
{
public:
    virtual ~io_session() {}
    virtual int id() = 0;
    virtual void start() = 0;   
    virtual void stop() = 0;    
    virtual tcp_socket& socket() = 0;
};

typedef boost::shared_ptr<io_session> io_session_ptr;

#endif
